package team.first.moviedb.entity;

import java.io.Serializable;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
  * @Author:        HAPPY
  * @Project_name:  project
  * @Package_name:  team.first.moviedb.entity
  * @Date:          2021/10/8 11:22
  */
public class Movie implements Serializable {
    private Integer id;

    private String name;

    private String chineseName;

    private String alias;

    private Integer releaseDate;

    private String region;

    private String timeDuration;

    private String language;

    private String releaseTime;

    private String introduction;

    private String postersAddress;

    private float score;

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public Movie setId(Integer id) {
        this.id = id;
        return this;
    }

    public String getName() {
        return name;
    }

    public Movie setName(String name) {
        this.name = name;
        return this;
    }

    public String getChineseName() {
        return chineseName;
    }

    public Movie setChineseName(String chineseName) {
        this.chineseName = chineseName;
        return this;
    }

    public String getAlias() {
        return alias;
    }

    public Movie setAlias(String alias) {
        this.alias = alias;
        return this;
    }

    public Integer getReleaseDate() {
        return releaseDate;
    }

    public Movie setReleaseDate(Integer releaseDate) {
        this.releaseDate = releaseDate;
        return this;
    }

    public String getRegion() {
        return region;
    }

    public Movie setRegion(String region) {
        this.region = region;
        return this;
    }

    public String getTimeDuration() {
        return timeDuration;
    }

    public Movie setTimeDuration(String timeDuration) {
        this.timeDuration = timeDuration;
        return this;
    }

    public String getLanguage() {
        return language;
    }

    public Movie setLanguage(String language) {
        this.language = language;
        return this;
    }

    public String getReleaseTime() {
        return releaseTime;
    }

    public Movie setReleaseTime(String releaseTime) {
        this.releaseTime = releaseTime;
        return this;
    }

    public String getIntroduction() {
        return introduction;
    }

    public Movie setIntroduction(String introduction) {
        this.introduction = introduction;
        return this;
    }

    public String getPostersAddress() {
        return postersAddress;
    }

    public Movie setPostersAddress(String postersAddress) {
        this.postersAddress = postersAddress;
        return this;
    }

    public float getScore() {
        return score;
    }

    public Movie setScore(float score) {
        this.score = score;
        return this;
    }

    @Override
    public String toString() {
        return "Movie{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", chineseName='" + chineseName + '\'' +
                ", alias='" + alias + '\'' +
                ", releaseDate=" + releaseDate +
                ", region='" + region + '\'' +
                ", timeDuration='" + timeDuration + '\'' +
                ", language='" + language + '\'' +
                ", releaseTime='" + releaseTime + '\'' +
                ", introduction='" + introduction + '\'' +
                ", postersAddress='" + postersAddress + '\'' +
                ", score=" + score +
                '}';
    }
}